package morphia.spring;

/**
 * Hold db properies.
 * @author Kent Yeh
 */
public interface DbDefinition {

    /**
     * Db Host.
     */
    String getHost();

    /**
     * Db port.
     */
    int getPort();

    /**
     * Db database name.
     */
    String getDatabaseName();

    /**
     * {@link  com.mongodb.MongoOptions} bean name.
     * Assoicate a {@link  com.mongodb.MongoOptions} instances when  {@link  com.mongodb.Mongo} generated.
     */
    String getOptionsRef();

    /**
     * Database username.
     */
    String getUsername();

    /**
     * Database password.
     */
    String getPassword();
}
